package edu.gdut.tiantian.service;

import java.util.List;
import java.util.Map;


import edu.gdut.tiantian.entity.User;

public interface IUserService {
	User userLogin(String username,String password);
	
	void save(User user);
	
	void updateUser(User user);
	
	User findByUsername(String username);
	
	void  updateStatus(String userId,Integer status);
	
	User findById(String userId);
	
	User getUser(String userId);
	
	List<User> findByCondition(Map<String,String> condition,int pageNum);
}
